package cn.source.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.source.common.annotation.Excel;
import cn.source.common.core.domain.BaseEntity;

/**
 * 心愿对象 party_heartfelt
 * 
 * @author sourcebyte.vip
 * @date 2024-11-22
 */
public class PartyHeartfelt extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 诉求主题 */
    @Excel(name = "诉求主题")
    private String title;

    /** 诉求内容 */
    @Excel(name = "诉求内容")
    private String content;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 诉求类型 */
    @Excel(name = "诉求类型")
    private String askType;

    /** 是否公开 */
    @Excel(name = "是否公开")
    private Integer isOff;

    /** 接受部门 */
    @Excel(name = "接受部门")
    private String receivingDept;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String picPath;

    /** 心愿类型 */
    @Excel(name = "心愿类型")
    private String heartfeltType;

    /**
     * 用户ID
     */
    @Excel(name = "用户id")
    private int userId;

    /**
     * 心愿类型
     */
    @Excel(name = "心愿类型标识")
    private int heartfeltTypeInt;


    public int getHeartfeltTypeInt() {
        return heartfeltTypeInt;
    }

    public void setHeartfeltTypeInt(int heartfeltTypeInt) {
        this.heartfeltTypeInt = heartfeltTypeInt;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getHeartfeltType() {
        return heartfeltType;
    }

    public void setHeartfeltType(String heartfeltType) {
        this.heartfeltType = heartfeltType;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setAskType(String askType) 
    {
        this.askType = askType;
    }

    public String getAskType() 
    {
        return askType;
    }
    public void setIsOff(Integer isOff) 
    {
        this.isOff = isOff;
    }

    public Integer getIsOff() 
    {
        return isOff;
    }
    public void setReceivingDept(String receivingDept) 
    {
        this.receivingDept = receivingDept;
    }

    public String getReceivingDept() 
    {
        return receivingDept;
    }
    public void setPicPath(String picPath) 
    {
        this.picPath = picPath;
    }

    public String getPicPath() 
    {
        return picPath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("content", getContent())
            .append("name", getName())
            .append("phone", getPhone())
            .append("askType", getAskType())
            .append("isOff", getIsOff())
            .append("receivingDept", getReceivingDept())
            .append("picPath", getPicPath())
            .toString();
    }
}
